import { REPAY_VOUCHER_LIST } from "../../Action/repayment/repayVoucher";
import objectAssign from "object-assign";
const initData = {
	waitRepay: 0, //应还金额
	payType: 0, //还一个订单：2  还全部订单：3
	cino: "" //一个订单有借据号   全部借据号为空
};
//记录商品列表页数据状态
const repayVoucher = (state = initData, action = {}) => {
	switch (action.type) {
		case REPAY_VOUCHER_LIST:
			return objectAssign({}, state, action.options);

		default:
			return state;
	}
};
export default repayVoucher;
